SpiralDrillShapePattern InnerRotations

Gets or Sets the inner rotations of the spiral. The inner rotations define the number of turns the laser should scan after reaching the inner radius.

public float InnerRotations {get;Set}

 

Return value

float The number of rotations to scan

 

Example

Copy
SpiralDrillShapePattern spiralDrilPat = new SpiralDrillShapePattern();
spiralDrilPat.Clockwise = true;
spiralDrilPat.Angle = 0;
spiralDrilPat.InnerRadius = 5;

spiralDrilPat.InnerRotations = 2;

spiralDrilPat.OuterRadius = 10;
spiralDrilPat.OuterRotations = 2;
spiralDrilPat.Outwards = false;
spiralDrilPat.Pitch = 1;
spiralDrilPat.ReturnToStart = false;

//Create a drill shape.
DrillShape drillShape = new DrillShape();
drillShape.SetPattern(spiralDrilPat);